import { createContext } from 'react';
import type { InternalNamePath } from '../interface';
import type { Meta } from '../interface/FieldEntityType';
/** `noStyle` Form Item Context. Used for error collection */
export type ReportMetaChange = (
  meta: Meta & { destroy?: boolean },
  uniqueKeys: InternalNamePath,
) => void;
const NoStyleItemContext = createContext<ReportMetaChange | null>(null);
export default NoStyleItemContext;
